package com.example.medmobile;

import java.util.List;

import utils.BaseActivity;
import android.app.ProgressDialog;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.view.Menu;
import android.widget.ListView;

public abstract class ListaAgendamento extends BaseActivity  {
	protected ListView listView;
	protected List<com.google.appengine.medmobileserver.business.Agendamento> li;
	protected ProgressDialog dialog;
	protected Handler handler;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_lista_agendamento);
		listView = (ListView)findViewById(R.id.listaAgend);	
		CarregaLista(this);
	}

	protected abstract void CarregaLista(Context context);

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.lista_agendamento, menu);
		return true;
	}

}
